package com.atguigu.edu.service.client.imple;

import com.atguigu.common.util.R;
import com.atguigu.edu.service.client.VodClient;
import org.springframework.stereotype.Component;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

@Component
public class VodFileDegradeFeignClient implements VodClient {
    @Override
    public R upload(MultipartFile file) {
        return R.error();
    }

    @Override
    public R deleteVideo(String videoSourceId) {
        return R.error();
    }

    @Override
    public R deleteBatch(List<String> videoIdList) {
        return R.error();
    }

    @Override
    public R getPlayInfo(String videoSourceId) {
        return R.error();
    }

    @Override
    public R getPlayAuth(String videoSourceId) {
        return R.error();
    }



    @Override
    public R testHystrix(String param) {
        return R.error();
    }
}
